<?php
/**
 * Created by PhpStorm.
 * User: fairy
 * Date: 14-3-5
 * Time: 上午10:35
 */

class ButterflyAction extends Action{
    public function index(){
        $name = 'ThinkPHP';
        $this->assign('name',$name);

        $User = M('Student');
        $list = $User->select();
        $this->assign('list',$list);
        $this->display();
    }
    public function chinese(){
        echo '2';

    }
} 